package com.shtel.paas.monitorcenter.config.management.collection.config.mapper;

import java.util.List;

import com.shtel.paas.monitorcenter.config.management.collection.config.entity.CollectionConfigEntity;
import com.shtel.paas.monitorcenter.config.management.collection.config.entity.UpdateConfigurationCollectionEntity;
import com.shtel.paas.monitorcenter.config.management.collection.config.vo.CollectionConfigVo;
import com.shtel.paas.monitorcenter.config.management.collection.config.vo.MonitoringIndexConfigurationVO;
import com.shtel.paas.monitorcenter.config.management.collection.config.vo.MonitoringIndexVO;
import com.shtel.paas.monitorcenter.config.management.collection.config.vo.SelectOptionValueVo;


public interface CollectionConfigMapper {
	
	//查询指标配置数据
	List<CollectionConfigVo> selectConfiguationCollectionInfo(CollectionConfigEntity parameter);
	
	//查新数据 数据采集频率数据【表：xxljob】
	CollectionConfigVo selectDataAcquisitionFrequency();
	
	//查新数据 刷新频率数据【表：xxljob】
	SelectOptionValueVo selectDataAcquisitionOptionFrequency();
	
	//更新指标配置数据
	Integer updateCollectionConfigInfo(UpdateConfigurationCollectionEntity parameter);
	
	//更新指标配置数据(xxlJob数据库)
	Integer updateCollectionConfigInfoForXxlJobDb(String dataAcquisitionFrequency);
	
	//查询主机刷新数据
	List<CollectionConfigVo> selectCollectionConfigTab2Info(CollectionConfigEntity parameter);
	
	//查询视图刷新下拉框数据
	List<SelectOptionValueVo> selectViewRefreshOptionValue();
	
	//主机刷新频率配置更新
	Integer updateCollectionConfigTab2Info(Integer sytemParameterId,String refreshTime);

	//查询监控指标ztree根目录
	List<MonitoringIndexConfigurationVO> selectMonitoringIndex();
	
	//查询监控指标ztree子节点
	List<MonitoringIndexVO> asyncGetKPITreeData(String id);
}
